<?php
//require dirname(__FILE__) . "/../classes/imageClass.php";
//require dirname(__FILE__) . "/../classes/albumClass.php";
//require dirname(__FILE__) . "/../classes/connectionFactoryClass.php";
//require dirname(__FILE__) . "/../classes/imageDao.php";
//require dirname(__FILE__) . "/../classes/albumDao.php";


$idUser = $_SESSION['userId'];
//$image = new ImageClass();






$nameAlbum=$_POST['album']; 
$albumExistee = $albumDao->getAlbumByNameContains($nameAlbum, $idUser);

?>
